package com.gwtsz.chart.output.customer;

import android.util.SparseArray;

import com.gwtsz.chart.components.XAxis;

/**
 * author：spence
 * mail：spenceacc@gmail.com
 * blog：http://blog.csdn.net/qqyanjiang
 */
public class MyXAxis extends XAxis {
    private SparseArray<String> labels;
    private boolean isSideNeedPathEffect = true;    // 设置 X 轴边缘线条是否需要虚线显示
    private boolean isNeedShowSideLine; // 设置 X 轴是否需要显示最后一条线

    public SparseArray<String> getXLabels() {
        return labels;
    }

    public void setXLabels(SparseArray<String> labels) {
        this.labels = labels;
    }

    public boolean isSideNeedPathEffect() {
        return isSideNeedPathEffect;
    }

    public void setSideNeedPathEffect(boolean sideNeedPathEffect) {
        isSideNeedPathEffect = sideNeedPathEffect;
    }

    public boolean isNeedShowSideLine() {
        return isNeedShowSideLine;
    }

    public void setNeedShowSideLine(boolean needShowSideLine) {
        isNeedShowSideLine = needShowSideLine;
    }
}
